package com.fz.us.oa.core.entity.common;

import com.fz.us.admin.base.entity.parent.NameEntity;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 实体类 - 文件
 * ============================================================================
 * 版权所有 2014 。
 *
 * @version 0.1 2016-9-1
 * ============================================================================
 */
@Entity
@Table(name="sys_filemanage")
public class FileManage extends NameEntity {

    private static final long serialVersionUID = 8101878280292901835L;

	/**
	 * 路径
	 */
	private String url;
	/**
	 * gridFSId
	 */
	private String gridId;
	/**
	 * size
	 */
	private long size;
	/**
	 * 长度
	 */
	private long timeLength;

	/**
	 * 补充文件(mp3文件，压缩过的小图片文件)
	 */
	private String gridMarkId;
	@Transient
	public String getTmpFilePath() {
		return tmpFilePath;
	}

	public void setTmpFilePath(String tmpFilePath) {
		this.tmpFilePath = tmpFilePath;
	}
	private String tmpFilePath;

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getGridId() {
		return gridId;
	}

	public void setGridId(String gridId) {
		this.gridId = gridId;
	}

	public long getSize() {
		return size;
	}

	public void setSize(long size) {
		this.size = size;
	}
	public long getTimeLength() {
		return timeLength;
	}

	public void setTimeLength(long timeLength) {
		this.timeLength = timeLength;
	}

	public String getGridMarkId() {
		return gridMarkId;
	}

	public void setGridMarkId(String gridMarkId) {
		this.gridMarkId = gridMarkId;
	}

}
